package com.neusoft.feign;

import com.neusoft.core.CommonResult;
import com.neusoft.core.PointLog;
import org.springframework.stereotype.Component;

@Component
public class PointFeignClientCallBack implements PointFeighClient{
    @Override
    public CommonResult<Integer> addPointLog(PointLog pointLog){
        // throw new RuntimeException("积分流水记录添加失败");
        return new CommonResult<>(403, "feign触发了熔断降级", 0);
    }

}
